package com.fdm.model.dao;

import com.fdm.model.Customer;
import com.fdm.util.exceptions.UniqueConstraintException;

public interface CustomerDAO {
	Customer getCustomer(long id) throws Exception;
	Customer getCustomer(String email) throws Exception;
	void createNewCustomer(Customer customer) throws UniqueConstraintException;
	void updateCustomer(Customer customer);
	void deleteCustomer(long id);
}
